package com.up.upzl.biz.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.up.upzl.base.service.impl.BaseServiceImpl;
import com.up.upzl.biz.domain.BusinessArea;
import com.up.upzl.biz.repository.BusinessAreaRepository;
import com.up.upzl.biz.service.BusinessAreaService;

@Service
public class BusinessAreaServiceImpl extends BaseServiceImpl<BusinessArea, Long> implements BusinessAreaService {

	@Autowired
	private BusinessAreaRepository businessAreaRepository;

	@Override
	public List<BusinessArea> findByAreaId(Long areaId) {
		return businessAreaRepository.findByAreaId(areaId);
	}

}
